#ifndef _DICT_H_
#define _DICT_H_
#include "python3/PythonGrammar30TreeConstants.h"
#include "ast/exprType.h"
#include "ast/exprType.h"
class IVisitor;
class Dict;
typedef QSharedPointer<Dict> DictPtr;

class Dict: public exprType
{
public:
    explicit Dict(const ExprTypeList& keys, const ExprTypeList& values, int nodeId=JJTDICTIONARY);
    virtual ~Dict();
    
    
    ExprTypeList keys();
    void setKeys(const ExprTypeList& keys);
    
    ExprTypeList values();
    void setValues(const ExprTypeList& values);
    
    
    virtual QString type() const;
    virtual QString toString() const;
    virtual void accept(IVisitor* visitor, const SimpleNodePtr& node);
    virtual void traverse(IVisitor* visitor);
private:
    ExprTypeList _keys;
    ExprTypeList _values;
};




#endif